package com.ujoku.service;

import com.labillusion.core.database.base.mybatis.service.base.BaseService;
import com.ujoku.domain.Cart;
import com.ujoku.domain.CartItem;

import java.util.List;

/**
 * Created by Administrator on 14-10-19.
 */
public interface CartItemService<T> extends BaseService<T> {
    List<CartItem> getCartIemByCartId(String cartId);

    Cart deleteById(Cart cart, String itemId);

    CartItem getCartItem(String cartItemId, Cart cart);
}
